#include "Obstacle.h"
#include "Player.h"

Obstacle::Obstacle(b2World * pW)
: GameEntity(pW)
{
}

Obstacle::~Obstacle()
{
}

void Obstacle::contactBeganWithPlayer(Player * pPlayer, b2Contact * pContact)
{
  pPlayer->action(Player::DEAD);
}

EntityType Obstacle::getEntityType()
{
  return OBSTACLE;
}
